// ++++++++++++++++++++++++++++++++++++++++
// 《零基础Go语言算法实战》源码
// ++++++++++++++++++++++++++++++++++++++++
// Author:廖显东（ShirDon）
// Blog:https://www.shirdon.com/
// Gitee:https://gitee.com/shirdonl/goAlgorithms.git
// Buy link :https://item.jd.com/14101229.html
// ++++++++++++++++++++++++++++++++++++++++

package main

import "fmt"

type I interface {
	M()
}
type T struct {
	S string
}

// 类型 T 实现了接口 I
func (t T) M() {
	fmt.Println(t.S)
}
func main() {
	t := i.(T)
	i.M()
}

//$ go run interview1-38.go
//Test
